import { ax } from '@/plugins/axios'




export async function login(username: string, password: string) {
    return await ax.post('login', { username, password })
}


export async function getUserList(params?: any) {
    return await ax.get('/', params)
}